package com.xiaoshuidi.cloud.module.report.xxljob;

import com.xiaoshuidi.cloud.framework.tenant.core.aop.TenantIgnore;
import com.xiaoshuidi.cloud.module.report.service.ajreport.ReportContractRoomDepositService;
import com.xiaoshuidi.cloud.module.report.service.ajreport.ReportHouseOwnerDepositService;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 批量处理业主押金定时
 */
@Component
@Slf4j
public class ReportHouseOwnerDepositJob {


    @Resource
    private ReportHouseOwnerDepositService reportHouseOwnerDepositService;


    @XxlJob("reportHouseOwnerDepositJob")
    @TenantIgnore
    public void execute() {
        reportHouseOwnerDepositService.dataProcessing();
    }
}
